home *** CD-ROM | disk | FTP | other *** search
- TEE.EXE
-
-
- Class: UNIX
-
- Duplicates output sent to STDOUT to file and screen.
-
- NAME
- TEE Duplicate output to screen and files
-
- SYNOPSIS
- tee [-a] [<file>]
-
- DESCIPTION
- The function of TEE is to redirect output of a program to a file and
- still be able to view it on the screen. This is useful during processes
- such as compiling where you would like to save the output to a file
- for future use but need to know if keyboard input is needed. Tee takes
- STDOUT as it's input so its best to pipe output from one program to it
- to TEE.
-
- OPTIONS
- -a Append to the specified file, do not create.
-
- EXAMPLE
- LC TEST.C | TEE TEST.ERR
- This will take the output from the compilation of TEST, show it
- on the screen and save it in TEST.ERR